package com.atguigu.customer.demo.mapper;

import com.atguigu.customer.demo.bean.Customer;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
@DS("mysql0925")
public interface CustomerMapper extends BaseMapper<Customer> {


    @Select("select * from customer where id=#{id}")
    @DS("mysql1018")
    public Customer selectCustomerById(String id);
}
